package com.lx.oms.controller.service;

import java.math.BigInteger;
import java.util.List;
import java.util.Map;

import com.lx.oms.common.entity.Page;
import com.lx.oms.common.entity.R;
import com.lx.oms.controller.entity.FactoryEntity;

/**
 * 厂名
 *
 * @author houzhong
 * @date 2018年10月24日 下午1:26:13
 */
public interface FactoryService {

	Page<FactoryEntity> listFactory(Map<String, Object> params);
	
	R saveFactory(FactoryEntity tFactory);
	
	R getFactoryById(BigInteger id);
	
	R updateFactory(FactoryEntity tFactory);
	
	R batchRemove(String[] id);
	
	FactoryEntity getFactoryByName(String name);
	
	//查询所有厂
	List<FactoryEntity> listByFactory(Map<String, Object> params);
	
}
